I:/Documents/developpement/projets/C/blast/blastguy_wii_2.2/src/block.h File Reference

A breakable block. More...

#include <stdlib.h>
#include <stdio.h>
#include <SDL/sdl.h>
#include "sprite.h"
#include "map.h"
#include "bomb.h"
#include "image.h"

Include dependency graph for block.h:

This graph shows which files directly or indirectly include this file:


Functions

int block_add (map *p_map, float fill_percent, float dispertion_average)

Detailed Description

A breakable block.

Author:
DREVET Olivier
Date:
October 2008
Note:
ANSI c90 compliance. Published under the GPL 3 license (see license.txt for more info)

Function Documentation

int block_add ( map p_map,
float  fill_percent,
float  dispertion_average 
)

Parameters:
fill_percent must be between 0 and 100, if sup at 100, it is set at 100.
dispertion_average must be between 0 and 1. if at 0 then all blocks are glued.
Returns:
The number of blocks added


Generated on Tue Nov 4 21:07:19 2008 for Blastgu by  doxygen 1.5.4